package com.ziq.zcamp.api.respond

import com.google.gson.annotations.SerializedName
import com.ziq.zcamp.proguard.ProguardKeep

open class CampBaseRespond : ProguardKeep {

    //错误码
    @SerializedName("code")
    var dmError = -1

    //错误信息
    @SerializedName("msg")
    var errorMsg: String? = null

    val isSuccess: Boolean
        get() = dmError == 0

}